package com.xxxx.server.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 辅导员疫苗登记表
 * </p>
 *
 * @author zhoubin
 * @since 2022-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_ivaccine")
@ApiModel(value="Ivaccine对象", description="辅导员疫苗登记表")
public class Ivaccine implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "辅导员id")
    private Integer IVid;

    @ApiModelProperty(value = "登记日期")
    @Excel(name="登记日期",width = 20,format = "yyyy-MM-dd")
    private LocalDateTime IVdate;

    @ApiModelProperty(value = "接种类型")
    @Excel(name = "接种类型",replace = {"二针剂_1","三针剂_2","加强针_3","未接种_4"})
    private String IVtype;

    @ApiModelProperty(value = "接种进度")
    @Excel(name = "接种进度",replace = {"已全程接种_1","未全程接种_2","未接种_3"})
    private String IVprogress;

    @ApiModelProperty(value = "最后一针接种时间")
    @Excel(name="最后一针接种时间",width = 20,format = "yyyy-MM-dd")
    private LocalDateTime IVlasttime;

    @ApiModelProperty(value = "是否启用")
    private Integer enable;

    @ApiModelProperty(value = "姓名")
    @TableField(exist = false)
    @Excel(name = "姓名")
    private String name;

    @ApiModelProperty(value = "学院名字")
    @TableField(exist = false)
    @Excel(name = "学院名称")
    private String coname;

}
